#!/usr/bin/env bash

echo 'darwin'
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o gen_sqlx_code

echo 'windows'
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o gen_sqlx_code.exe

exit